home *** CD-ROM | disk | FTP | other *** search
- /*
- *--- PRectQuery.h --------------------------------------------------------
- * Copyright (c) 1995-96 Adobe Systems Incorporated. All rights reserved.
- * Created on Sun, Oct 22, 1995 @ 4:49 PM by Paul Ferguson.
- *
- * Description:
- *-------------------------------------------------------------------------
- */
- #ifndef __PRectQuery__
- #define __PRectQuery__
-
- #include "PMTypes.h"
- #include "PQuery.h"
-
- class PRectQuery
- {
-
- public:
-
- PRectQuery(ePMQuery op);
-
- long xLeft;
- long yTop;
- long xRight;
- long yBottom;
-
- private:
-
- PRectQuery();
- };
-
-
-
- template <ePMQuery QUERY>
- class PRecty : public PRectQuery
- {
-
- public:
-
- PRecty() : PRectQuery(QUERY) { };
- };
-
- typedef PRecty<pm_getpagerect> PGetPageRect;
- typedef PRecty<pm_getcroprect> PGetCropRect;
- typedef PRecty<pm_getselectinfo> PGetSelectInfo;
-
- #endif
-
- // end of PRectQuery.h
-